package com.bo.libnet.net;

import retrofit2.Call;
import retrofit2.Response;

/**
 * Created by ZJB on 2018/1/31.
 *
 * @ copyright: iwhere chengdu technology
 *
 * ApiCallBack:回调的中间层
 */

public abstract class ApiCallBack<T>{

    public abstract void onSuccess(Call<T> call, Response<T> response);
    public abstract void onFail(Call<T> call, Throwable t);
}
